home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
chgboot.zip
/
SAMPLE.CFG
< prev
Wrap
Text File
|
1991-09-06
|
9KB
|
273 lines
#-------------------------------------------------------------------------------
# This is a sample configuration file. It demonstrates the correct format
# of the configuration file and the use of the program switches, macro
# define blocks, comments, include statements, etc. This file should not
# be used as the actual ChgBoot.Cfg file unless the system configurations are
# customized for your machine environment. The switches, macros, and
# system blocks can be in any order, except that if the number of system
# configurations exceeds the maximum of 18, any text after that will be
# ignored. This means that if there are any switches after this they will
# not be read.
# This switch is optional. If it is not included, the program will default
# to [AutoBoot]=OFF. Set program default to reboot the machine. Allowable
# options are:
# Off
# On
[AutoBoot]=On
# This switch is optional. If it is not included, the configuration file
# cannot be edited interactively withing the ChgBoot program.
# Set up a user defined editor for the configuration file
[Editor]=C:\Dos\Edit
# This switch is optional. Any DOS commands can be specified to run prior
# to rebooting the machine, as is shown in this example.
# Flush Central Point Software's PC-Cache prior to rebooting machine
[RunDos]=PC-Cache /Flush /Quiet > Nul
# This switch is only necessary if you run the program from a drive other
# than the boot drive.
# Label the start-up disk drive
[BootDrv]=C:
# This switch is optional. The program defaults to [HideFiles]=OFF.
# Set the hidden attribute on the Autoexec.Bat and Config.Sys system files.
# Allowable options are:
# Off
# On
[HideFiles]=On
# This switch is optional. The program defaults to [BackUp]=On.
# Do not keep back-up copies of the system files
# Allowable options are:
# Off
# On
[BackUp]=Off
# This switch is optional. The program defaults to [LockFiles]=OFF.
# Set the read-only attribute bit on the system files
# Allowable options are:
# Off
# On
[LockFiles]=On
# This switch is optional. The program defaults to [Config]=TextFile.
# Save the machine boot up configuration in a text file
# Allowable options are:
# Off
# Textfile
# Environment
[Config]=Environment
# This switch is optional. The program defaults to [Indent]=Off.
# Define the string indentation behavior
# Allowable options are:
# Off
# Relative
# Absolute
[Indent]=Relative
# You should define appropriate macros for use in your system. These are here
# as examples to show how the macro is defined, and then how it is used in
# the system block.
# Define macros for use in the system files
[MacroStart]
PATH=Path C:\;C:\Dos;C:\Bin;C:\PCT;C:\Me;D:\;D:\Exec;D:\BC;D:\TP
QEMM=Device=C:\Dos\Qemm\Qemm386.Sys Ram X=C800-CFFF
HIMEM=C:\Dos\HiMem.Sys
EMM386=C:\Dos\Emm386.Exe Ram X=C800-CFFF NoEms
CACHE_512=C:\PCT\PC-Cache /IE /Write=On /SizExt=512K /Max=10
CACHE_1024=C:\PCT\PC-Cache /IE /Write=On /SizExt=1024K /Max=20
CACHE_2048=C:\PCT\PC-Cache /IE /Write=On /SizExt=2048K /Max=20
CACHE_4096=C:\PCT\PC-Cache /IE /Write=On /SizExt=4096K /Max=20
SMARTDRV_1024=C:\Dos\SmartDrv.Sys 1024 512
SMARTDRV_2048=C:\Dos\SmartDrv.Sys 2048 1024
LOADHI=C:\Dos\Qemm\LoadHi
MIRROR=C:\Pct\Mirror C: D:
SHELL=Shell=C:\Dos\Command.Com /P /E:2048
CHGBOOT=ChgBoot=C:\Homeboot.Cfg
MODE=Mode Con Rate=32 Delay=1
FASTOPEN=Install=C:\Dos\FastOpen.Exe C:=100 D:=100
DOSMACRO=Call C:\Bin\DosMacro
DATAMON=C:\Pct\DataMon /DataLock+ /Sentry+ /Light+ /Write-
MOUSE=C:\Dos\Mouse
DOSKEY=C:\Dos\DosKey /BufSize=1024
COMSPEC_E=Comspec=E:\Command.Com
COMSPEC_C=Comspec=C:\Dos\Command.Com
DIRCMD=DirCmd=/o:eng /a
RAMDRV_1536=C:\Dos\RamDrive.Sys 1536 512 1024
RAMDRV_4096=C:\Dos\RamDrive.Sys 4096 512 1024
ANSI=C:\Dos\Ansi.Sys
VDEFEND=C:\Pct\VDefend.Sys
MI=MI > MI.DAT
LOADHIDAT=LoadHi > LoadHi.Dat
DELBOOTMSG=If Exist C:\BootUp.Msg Erase C:\BootUp.Msg >> Nul
SWAPSH=SwapSh /N
COPYDOS_E=Copy C:\Dos\Command.Com E:\
PCTDATA=PcTools=C:\Pct\Data
[MacroEnd]
#-------------------------------------------------------------------------------
# This is system configuration 'A'. It makes extensive use of macros.
[SystemStart]
[MenuTitle]=1.5M Ram Disk, 1M Cache
[HelpLine]=Use this configuration for programs requiring large amounts of extended memory
[AutoStart]
@Echo Off
Verify Off
$(PATH)
$(MIRROR)
$(DELBOOTMSG)
$(COPYDOS_E)
Set $(COMSPEC_E)
Set $(DIRCMD)
Set $(PCTDATA)
Set $(CHGBOOT)
$(LOADHI) /R:2 $(DATAMON)
$(LOADHI) /R:2 $(CACHE_512)
$(LOADHI) $(MOUSE)
$(LOADHI) /R:3 $(DOSKEY)
$(LOADHI) /R:2 $(SWAPSH)
$(MODE)
$(DOSMACRO)
$(MI)
$(LOADHIDAT)
Prompt $P$G
CLS
Echo Configuration: 1.5M RamDrive, 512K Cache
[AutoEnd]
[ConfigStart]
Break=On
Buffers=20 /X
Files=30
$(SHELL)
$(QEMM)
Device=$(LOADHI).Sys /R:1 $(RAMDRV_1536) /E
Device=$(LOADHI).Sys /R:3 $(ANSI)
Device=$(LOADHI).Sys /R:2 $(VDEFEND)
Dos=High
$(FASTOPEN) /X
[ConfigEnd]
[SystemEnd]
#-------------------------------------------------------------------------------
# This is system configuration 'B'. This configuration shows the use of the
# [Include] directive. If there were a text file called "set.txt" located
# in the root directory, that contained all the environment set commands,
# (i.e., Set Comspec=C:\Dos, etc.) they could be included in the
# "Autoexec.Bat" file as shown below. Alternatively, if there were a number
# of different "Autoexec.bat" and "Config.Sys" files under different names
# (Autoexec.1, Autoexec.2, Config.1, Config.2, etc.), these could be
# included instead of rewriting them here. This would be done as:
#
# [AutoStart]
# [Include]=C:\Autoexec.1
# [AutoEnd]
#
# [ConfigStart]
# [Include]=C:\Config.1
# [ConfigEnd]
[SystemStart]
[MenuTitle]=4M Ram Disk, 1M Cache
[HelpLine]=This is your standard configuration with large ram disk
[AutoStart]
@Echo Off
Verify Off
$(PATH)
$(MIRROR)
$(DELBOOTMSG)
$(COPYDOS_E)
[Include]=C:\Set.Txt
$(LOADHI) /R:2 $(CACHE_1024)
$(LOADHI) /R:2 $(DATAMON)
$(LOADHI) $(MOUSE)
$(LOADHI) /R:3 $(DOSKEY)
$(LOADHI) /R:2 $(SWAPSH)
$(MODE)
$(DOSMACRO)
$(MI)
$(LOADHIDAT)
Prompt $P$G
CLS
Echo Configuration: 4M RamDrive, 1M Cache
[AutoEnd]
[ConfigStart]
Break=On
Buffers=20 /X
Files=30
$(SHELL)
$(QEMM)
Device=$(LOADHI).Sys /R:1 $(RAMDRV_4096) /A
Device=$(LOADHI).Sys /R:3 $(ANSI)
Device=$(LOADHI).Sys /R:2 $(VDEFEND)
Dos=High
$(FASTOPEN) /X
[ConfigEnd]
[SystemEnd]
#-------------------------------------------------------------------------------
# This is system configuration 'C'
# This example uses no macros
[SystemStart]
[MenuTitle]=1.5M Ram Disk, 2M Cache, Windows
[HelpLine]=Uses QEMM instead of HiMem.Sys, Uses SmartDrv instead of PC-Cache
[AutoStart]
Rem This is the Windows configuration
@Echo Off
Verify Off
Path C:\;C:\Dos;C:\Bin;C:\PCT;C:\Me;C:\Win;D:\;D:\Exec;D:\BC;D:\ZC;D:\TP
C:\Dos\Mirror C: D: /TC /TD
If Exist C:\BootUp.Msg Erase C:\BootUp.Msg >> Nul
Set Comspec=C:\Dos\Command.Com
Set DirCmd=/o:eng /a
Set ChgBoot=C:\HomeBoot.Cfg
Set TLibCfg=!D:\TLib\TLib.Cfg
Set Include=D:\ZC\INC;D:\SRC
Set Lib=D:\ZC\LIB;D:\SRC
Set Temp=C:\Temp
C:\Dos\Qemm\LoadHi C:\Dos\Mouse
C:\Dos\Qemm\LoadHi /R:1 CmdEdit /r /g /d4096 /m4096 /fc:\cmdedit.scr
Prompt $P$G
Mode Con Rate=32 Delay=1
Mi > Mi.Dat
LoadHi > LoadHi.Dat
Win :
[AutoEnd]
[ConfigStart]
Break=On
Buffers=20
Files=30
Shell=C:\Dos\Command.Com /P /E:2048
Device=C:\Dos\Qemm\Qemm386.Sys Ram X=C800-CFFF
Dos=High
Device=C:\Dos\Qemm\LoadHi.Sys /R:1 C:\Dos\RamDrive.Sys 1536 512 1024 /E
Device=C:\Dos\Qemm\LoadHi.Sys /R:3 C:\Dos\Ansi.Sys
Device=C:\Dos\Qemm\LoadHi.Sys /R:2 C:\Dos\SmartDrv.Sys 2048 1024
[ConfigEnd]
[SystemEnd]
# End of ChgBoot.Cfg file example
#-------------------------------------------------------------------------------